package com.example.hzit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

/**
 * 内容实体类
 * @TableName TbContent
 */
@TableName("TbContent")
@Data
@ToString
public class Content implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String categoryId;

    private String title;

    private String url;

    private String pic;

    private String name;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
